package cn.yzc.pojo;

import cn.yzc.group.Delete;
import cn.yzc.group.Query;
import cn.yzc.group.Save;
import cn.yzc.group.Update;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.io.Serializable;

/**
 * (OaClockSet)实体类
 *
 * @author makejava
 * @since 2023-11-06 14:09:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OaClockSet  {
    @NotBlank(message = "id不能为空",groups = {Delete.class, Query.class, Update.class})
    private String id; //id
    @NotBlank(message = "考勤设置人不能为空",groups = {Save.class})
    private String name; //考勤设置人
    @NotBlank(message = "考勤签到时间不能为空",groups = {Save.class})
    private String signIn; //考勤签到时间
    @NotBlank(message = "考勤签退时间不能为空",groups = {Save.class})
    private String signOut; //考勤签退时间
    /**
     * 0  不限定
            1限定
     */
    private int isLimit; //是否限制
    @NotBlank(message = "考勤地点时间不能为空",groups = {Save.class})
    private String location; //签到地点
    @NotBlank(message = "考勤地点经度不能为空",groups = {Save.class})
    private Double longitude; //经度
    @NotBlank(message = "考勤地点纬度不能为空",groups = {Save.class})
    private Double latitude; //纬度
    @NotBlank(message = "考勤地点距离不能为空",groups = {Save.class})
    private Integer distance; //距离
    
    private String effectiveDate; //生效日期
    
    private String note;  //备注
    
    private Date createtime;  //创建时间
    
    private Date updatetime; //更新时间
    /**
     * 0 未删除
            1删除
     */
    private int isdel; //是否删除
    
    private String signDays; //设置星期

















}

